package com.epam.training.service.paymant;

import java.math.BigDecimal;
import java.util.Date;

import com.epam.training.domain.Paymant;

public interface PaymantService {
	Paymant getById(Integer id);

	Paymant save(Paymant paymant);

	void delete(Integer id);

	BigDecimal calculatePrice(Date day1, Date day2,
			BigDecimal carPrice, BigDecimal insurancePrice);
}
